-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saved SEPA support #2908
Saved SEPA support #2908
Conversation
c6ef073
to
ce2aed4
Compare
ce2aed4
to
e4781ea
Compare
b497382
to
c31b278
Compare
…e continue button in saved options vc.
b66f19c
to
d4b77fc
Compare
Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetUITest.swift
Outdated
Show resolved
Hide resolved
StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift
Outdated
Show resolved
Hide resolved
...heet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift
Outdated
Show resolved
Hide resolved
...heet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift
Outdated
Show resolved
Hide resolved
...Sheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/SepaMandateViewController.swift
Show resolved
Hide resolved
...Sheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/SepaMandateViewController.swift
Outdated
Show resolved
Hide resolved
@@ -19,6 +19,7 @@ class SimpleMandateTextView: UIView { | |||
label.font = theme.fonts.caption | |||
label.textColor = theme.colors.secondaryText | |||
label.numberOfLines = 0 | |||
label.textAlignment = .center |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this affect other place where we are showing mandates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, I've asked JJ if that's what we want
StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/TestModeView.swift
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments
Summary
Adds saved SEPA PMs support.
Motivation
https://docs.google.com/document/d/19RVShmZqOQDfShWY3731UBTTRP7INqQXqlAcmy4BY30/edit?pli=1#heading=h.htnywx28hw7v
Testing
FlowController shows mandate if the customer hasn't seen it already:
Changelog
PaymentSheet
+* [Added] Saved SEPA payment methods are now displayed to the customer for reuse, similar to saved cards.